<?php
namespace app\controller;

use app\BaseController;

class Index
{
    public function  index()
    {
        return view::fetch();
    }

    public  function  add()
    {
        return view::fetch();
    }

    public  function  edit()
    {
        $accountid = input('get.account_id');
        if(empty($accountid)){
            return'请通过正常方式访问此页面~';
        }
        $accountModel = new \Account();
        $data = $accountModel->where('acc');
        return view::fetch();
    }
}